package com.efuture.reflect;

import java.util.ResourceBundle;

/**
 * @ClassNAME ResourceBundleTest
 * @Description 资源绑定器 文件路径不能有中文 另必须要以properties文件结尾才行
 * @Author zhaoshanshan
 * @Date 2021/9/11 8:01 下午
 * @Version 1.0
 */
public class ResourceBundleTest {

    public static void main(String[] args) {
        ResourceBundle resourceBundle =  ResourceBundle.getBundle("testtwo");
        String value = resourceBundle.getString("name");
        System.out.println(value);

    }


}